

Quick intallation: (for experienced users)

Note:
Using an Iframe does not require the whole page to refresh everytime someone makes a change to their glitter text. It is very fast also. By not using an iframe people are exposed to more of your advertizing but the refresh rate is slower.

1. Copy all files and folders to the directory in which you ran the test script, or where you want it to be located.

2. Set file permissions: (all files or directories requiring 644 typically don't need to be changed after you ftp them up to your server. Only the ones that need 0755 or 0777 have to be changed.

Usually all you have to do is set folders /donez, /tempz, and /holdz to 0755 or 0777.

Run the install program install.php and follow the directions. Then run the customize section of the install program.

Directories: There are 8 directories. 3 require change and 5 do not.

/defaultz   	no change or 644, or 755   Change default font and glitter Used
/fontz      	no change or 644, or 755
/imgz       	no change or 644, or 755
/skins	    	no change or 644, or 755
/read-me-docs	no change or 644, or 755

/donez      has to be 0755 or 0777 the lowest your server will allow
/tempz      has to be 0755 or 0777 the lowest your server will allow
/holdz      has to be 0755 or 0777 the lowest your server will allow


All files in main directory can be 644 and usually need no change.

controlz.ini		644     This file has all configuration settings.
This file's permissions must be set to 0755 or 0777 during install and changed to 0664 after installation.

index-default.php   644     This is here if you need a plain page template to use. If you do not have an index.php page you may start with this one, just rename it to index.php. It also shows you how to set up your page.

indexi.php			644		This file is used for an Iframe.

.htaccess-use-if-needed 	Only for those that want an html page to process php.
							WE DO NOT GIVE SUPPORT FOR THIS

fontsim.php		644     Part of the script. Handles font selection.
glitter.php		644     Part of the script  Handles glitter selection.
install.php   644     Install program. Remove when you are satisfied with the installation
custom.php    644     Install program. Remove when you are satisfied with the installation
lang.php      644     Install program. Remove when you are satisfied with the installation
docs.php      644     Install program. 

genz.php		644 or 755  Main script - has to be called into your template page.
							Example below or in the index-default.php page.
							
genzi.php		644 or 755  If you use an iframe then indexi.php will call this script.

codebox1.txt 644		You can modify this to change the actual code to display the glitter images on other sites
codebox2.txt 644		You can modify this to change the actual code to display the glitter images on other sites
codebox3.txt 644		You can modify this to change the actual code to display the glitter images on other sites

*********************************************

To put this into your own template place this code on your page where you want the generator located. The name of the page must be index.php . Make sure you have an area that is 450px wide or larger before doing so, otherwise it will disrupt your page.

This is for a non iframe installation
<? require('genz.php'); ?>

********************************************
This is for using an iframe installation. This type installation refreshes much more quickly.
Less server load, and faster glitter text generation.

It works well for MSRS and MSCMS sites and all sites that have a lot of content on the page.

<iframe align="middle" frameborder="0" marginheight="0" marginwidth="2" allowtransparency="true" src ="http://www.thenameof yourdomain.com/generatorpath/indexi.php" scrolling="no" width="470" height="675">
</iframe>

If you want to center the iframe in a page use a div tag like this:

<div align="center">
Your iframe call from above
</div>

*********************************************


See full-install-direcitions-features.txt in the docs directory for more information. It is very important to read the whole thing to learn more about this script,how to save on your server's cpu usage and manage directory sizes.

